{if condition="$tplconfig['theme']['links']['btn'] eq 1"}
<div class="link_row">
	<div class="pannel clearfix">
		<div class="pannel_head clearfix">
			<h3 class="title">{if $tplconfig['theme']['links']['title']}{$tplconfig['theme']['links']['title']}{else}<span data-lang="string_link">{:lang_web('string_link')}</span>{/if}</h3>
		</div>
		<ul class="link_text list_scroll clearfix">
			{maccms:link num="'.($tplconfig['theme']['links']['num']).'" type="all" order="asc" by="sort"}
			{if condition="$vo['link_type'] eq 0"}
			<li><a class="text_muted" href="{$vo.link_url}" title="{$vo.link_name}" target="_blank">{$vo.link_name}</a>
					</li>
			{elseif condition="$vo['link_type'] eq 1"}
			<li><a class="text_muted" href="{$vo.link_url}" title="{$vo.link_name}" target="_blank"><img src="{$vo.link_logo}" class="link_logo"></a>
			</li>
			{/if}
			{/maccms:link}
		</ul>
	</div>
</div>{/if}